package com.lry.web.fiction.service;

import com.lry.web.fiction.entity.FictionVariable;

import java.net.MalformedURLException;
import java.util.List;
import java.util.Map;

public interface FictionVariableService {

    int setFictionVariable(FictionVariable fictionVariable);

    List<FictionVariable> getFictionVariables();

    int delete(Integer id);

    FictionVariable getFictionVariable(Integer id);

    Map<String, Object> selectFictionVariables(Integer from, Integer size);

    int updateFictionVariable(FictionVariable fictionVariable);

    Map<String,Object> verifyFictionVariable(FictionVariable fictionVariable,String name) throws Exception;
}
